package com.bootdo.core.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.core.dao.GameTypeDao;
import com.bootdo.core.domain.GameTypeDO;
import com.bootdo.core.service.GameTypeService;



@Service
public class GameTypeServiceImpl implements GameTypeService {
	@Autowired
	private GameTypeDao gameTypeDao;
	
	@Override
	public GameTypeDO get(Integer id){
		return gameTypeDao.get(id);
	}
	
	@Override
	public List<GameTypeDO> list(Map<String, Object> map){
		return gameTypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return gameTypeDao.count(map);
	}
	
	@Override
	public int save(GameTypeDO gameType){
		return gameTypeDao.save(gameType);
	}
	
	@Override
	public int update(GameTypeDO gameType){
		return gameTypeDao.update(gameType);
	}
	
	@Override
	public int remove(Integer id){
		return gameTypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return gameTypeDao.batchRemove(ids);
	}
	
}
